package com.example.springboot.codengen;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;


/**
 * @author yw
 * @since 2024/4/23
 */
@Data
@Configuration
public class CodegenConfig {

    @Value("${spring.datasource.url}")
    public String jdbcUrl;

    @Value("${spring.datasource.username}")
    public String username;

    @Value("${spring.datasource.password}")
    public String password;

    @Value("${codegen.basePackage}")
    public String basePackage;

    @Value("#{'${codegen.generateTable}'.split('、')}")
    public String[] generateTable;

    @Value("${codegen.author}")
    public String author;

}